package com.example.parkingproject.ex;

import com.example.parkingproject.code.ServiceCode;
import lombok.Getter;

public class ServiceException extends RuntimeException {
    @Getter
    private ServiceCode code;

    public ServiceException(ServiceCode code, String message) {
        super(message);
        this.code = code;
    }
}
